
package assignment1.perfectfailuredetector;

import java.io.Serializable;

import se.sics.kompics.Event;
import se.sics.kompics.address.Address;

/**
 * The <code>Flp2pDeliver</code> class.
 * 
 * @author Cosmin Arad <cosmin@sics.se>
 * @version $Id: Flp2pDeliver.java 516 2009-01-28 04:00:47Z cosmin $
 */
public class CrashEvent extends Event implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1586328347200502315L;

	private Address source;

	/**
	 * Instantiates a new flp2p deliver.
	 * 
	 * @param source
	 *            the source
	 */
	public CrashEvent(Address source) {
		this.source = source;
	}

	/**
	 * Gets the source.
	 * 
	 * @return the source
	 */
	public final Address getSource() {
		return source;
	}
}
